package com.ruoyi.system.service.waterService;

import com.ruoyi.system.domain.waterEnity.BuildingEntity;
import com.ruoyi.system.domain.waterEnity.DistributionInfoBo;

import java.util.List;

public interface DistributionService {
    //查询全部的订单，此方法配送员
    List<DistributionInfoBo> selectDistribution();
    //按收货状态查看配送信息
    List<DistributionInfoBo> selectDistributionByState(String state);
    //根据手机号查看配送信息
    List<DistributionInfoBo> selectDistributionByPhone(String phone);
    //根据地点查看配送信息
    List<DistributionInfoBo> selectDistributionByBuilding(String building);
    //修改配送信息
    int updateOrderState(int state);
    //删除配送信息
    int deleteOrderByID(int id);
    //多条件查询
    List<DistributionInfoBo> selectAllDistrition(String phone,String building,String state);
    //导出配送数据
    List<DistributionInfoBo> selectOrderByIds(String ids);
    //删除订单数据
    int deleteOrderByIds(String ids);

    List<BuildingEntity> selectBuilding();
}
